package top.xiaoshuaila.moments.service;

import top.xiaoshuaila.moments.pojo.RespBean;

import javax.servlet.http.HttpServletRequest;
import java.sql.Timestamp;

public interface LoginService {
    RespBean login(String username,String password, HttpServletRequest request);

    RespBean loginInfo(HttpServletRequest request);

    boolean containusername(String un);

    void regist(String un, String rn, String pw1, String intro, String headphoto, Timestamp datetime);
}
